﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LOLBattleQuery.Do
{
    public class GetBattleDetail
    {
        public int account_type { get; set; }
        public int area { get; set; }
        public string id { get; set; }
        public string game_id { get; set; }
        public string from_src { get; set; }


    }

    public class GetBattleDetailResult
    {
        public Result result { get; set; }
        public Battle_Detail battle_detail { get; set; }
        public string openid { get; set; }
        public object[] exts { get; set; }


        public class Result
        {
            public int error_code { get; set; }
            public string error_message { get; set; }
        }

        public class Battle_Detail
        {
            public string area_id { get; set; }
            public string game_id { get; set; }
            public string game_start_time { get; set; }
            public decimal game_time_played { get; set; }
            public int map_id { get; set; }
            public int game_queue_id { get; set; }
            public string game_mode { get; set; }
            public string game_type { get; set; }
            public string platform_id { get; set; }
            public int was_early_surrender { get; set; }
            public int play_gt25_mask { get; set; }
            public string game_server_version { get; set; }
            public List<Team_Details> team_details { get; set; }
            public List<Player_Details> player_details { get; set; }
        }

        public class Team_Details
        {
            public Baninfolist[] banInfoList { get; set; }
            public int isSurrender { get; set; }
            public int teamElo { get; set; }
            public string teamId { get; set; }
            public int totalAssists { get; set; }
            public int totalBaronKills { get; set; }
            public int totalBaseKilled { get; set; }
            public int totalDampenKilled { get; set; }
            public int totalDeaths { get; set; }
            public int totalDragonKills { get; set; }
            public int totalGoldEarned { get; set; }
            public int totalKills { get; set; }
            public int totalTurretsKilled { get; set; }
            public string win { get; set; }
        }

        public class Baninfolist
        {
            public int championId { get; set; }
            public int pickTurn { get; set; }
            public string teamId { get; set; }
        }

        public class Player_Details
        {
            public int PERK0 { get; set; }
            public int PERK1 { get; set; }
            public int PERK2 { get; set; }
            public int PERK3 { get; set; }
            public int PERK4 { get; set; }
            public int PERK5 { get; set; }
            public int STAT_PERK_0 { get; set; }
            public int STAT_PERK_1 { get; set; }
            public int STAT_PERK_2 { get; set; }
            public int allMinionsKilled { get; set; }
            public decimal assists { get; set; }
            public int baronKills { get; set; }
            public int barracksKilled { get; set; }
            public Battlehonour battleHonour { get; set; }
            public int championId { get; set; }
            public int championUsedExp { get; set; }
            public decimal championsKilled { get; set; }
            public int consumablesPurchased { get; set; }
            public int doubleKills { get; set; }
            public int dragonKills { get; set; }
            public int exp { get; set; }
            public int gameScore { get; set; }
            public decimal goldEarned { get; set; }
            public int goldSpent { get; set; }
            public int hqKilled { get; set; }
            public int item0 { get; set; }
            public int item1 { get; set; }
            public int item2 { get; set; }
            public int item3 { get; set; }
            public int item4 { get; set; }
            public int item5 { get; set; }
            public int item6 { get; set; }
            public int itemsPurchased { get; set; }
            public int keystoneId { get; set; }
            public int killingSpress { get; set; }
            public int largestCriticalStrike { get; set; }
            public int largestKillingSpree { get; set; }
            public int largestMultiKill { get; set; }
            public int level { get; set; }
            public string loginIp { get; set; }
            public string lolId { get; set; }
            public string lpl { get; set; }
            public int magicDamageDealtPlayer { get; set; }
            public int magicDamageTaken { get; set; }
            public int magicDamageToChampions { get; set; }
            public int minionsKilled { get; set; }
            public string name { get; set; }
            public int neutralMinionsKilled { get; set; }
            public int numDeaths { get; set; }
            public string openid { get; set; }
            public int pentaKills { get; set; }
            public int perkStyle { get; set; }
            public int perkSubStyle { get; set; }
            public int physicalDamageDealtPlayer { get; set; }
            public int physicalDamageTaken { get; set; }
            public int physicalDamageToChampions { get; set; }
            public string position { get; set; }
            public string puuId { get; set; }
            public int quadraKills { get; set; }
            public int sightWardsBoughtInGame { get; set; }
            public int skinIndex { get; set; }
            public int spell1Cast { get; set; }
            public int spell2Cast { get; set; }
            public int spell3Cast { get; set; }
            public int spell4Cast { get; set; }
            public int summonSpell1Cast { get; set; }
            public int summonSpell1Id { get; set; }
            public int summonSpell2Cast { get; set; }
            public int summonSpell2Id { get; set; }
            public string teamId { get; set; }
            public int teamMadeSize { get; set; }
            public int timeCcingOthers { get; set; }
            public int totalDamageDealt { get; set; }
            public int totalDamageTaken { get; set; }
            public decimal totalDamageToChampions { get; set; }
            public int totalHealth { get; set; }
            public int totalTimeSpentDead { get; set; }
            public int tripleKills { get; set; }
            public int trueDemageToChampions { get; set; }
            public int turretsKilled { get; set; }
            public string uinId { get; set; }
            public int unrealKills { get; set; }
            public int visionScore { get; set; }
            public int visionWardsBoughtInGame { get; set; }
            public int wardKilled { get; set; }
            public int wardPlaced { get; set; }
            public int wardPlacedDetector { get; set; }
            public int wardSkinIndex { get; set; }
            public int wasAfk { get; set; }
            public string win { get; set; }
        }

        public class Battlehonour
        {
            public string gameLevel { get; set; }
            public int isDoubleKills { get; set; }
            public int isGodlike { get; set; }
            public int isLargestAllMinionsKilled { get; set; }
            public int isLargestAssists { get; set; }
            public int isLargestChampionsKilled { get; set; }
            public int isLargestGoldEarned { get; set; }
            public int isLargestTotalDamageDealtToChampions { get; set; }
            public int isLargestTotalDamageTaken { get; set; }
            public int isLargestTurretsKilled { get; set; }
            public int isMvp { get; set; }
            public int isPentaKills { get; set; }
            public int isQuadraKills { get; set; }
            public int isSvp { get; set; }
            public int isTripleKills { get; set; }
            public int isUnrealKills { get; set; }
            public int isWinWithLessTeammate { get; set; }
            public int isZeroDeath { get; set; }
        }

    }
}
